package com.gimi.cloud.bbp.dao.dao.order;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.gimi.cloud.bbp.dao.dao.sys.BaseDao;
import com.gimi.cloud.bbp.dao.myMapper.MyMapper;
import com.gimi.cloud.bbp.dto.order.OrderDTO;
import com.gimi.cloud.bbp.entity.order.OrderEntity;
/**
 * 订单dao
 * @author chendi
 * @date 2018年1月10日
 */
@Mapper
public interface OrderDao extends MyMapper<OrderEntity>,BaseDao<OrderEntity,OrderDTO>{

	@Select("SELECT status FROM sh_order WHERE o_id = #{oId} LIMIT 1")
	String getOrderStatus(@Param(value = "oId") Integer oId);
}